package com.wn.inventory.service;

import com.wn.common.PageBean;
import com.wn.entity.BorrowWarehouseApplication;
import com.wn.entity.ScrapApplication;
import com.wn.inventory.vo.BorrowWarehouseApplicationVo;
import com.wn.inventory.vo.ScrapApplicationVo;

import javax.servlet.http.HttpServletRequest;

/**
 * @ author     ：NST
 * @ date       ：Created in 2022/10/22 14:39
 * @ description：
 * @ modified By：
 * @ version:
 */

public interface ScrapApplicationService {
    /**
     * @param scrapApplication
     * @return void
     * @ author nst
     * @ date 2022/10/22 14:06
     * @ Description 增加报废申请信息
     */
    void insert(ScrapApplication scrapApplication, HttpServletRequest request);
    /**
     * @param scrapApplicationVo
     * @return PageBean<ScrapApplication>
     * @ author nst
     * @ date 2022/10/22 14:07
     * @ Description 多条件分页查询报废申请信息
     */
    PageBean<ScrapApplication> getByCondition(ScrapApplicationVo scrapApplicationVo);
}
